package com.mlnx.netty.weice;

import com.mlnx.netty.base.DeviceNettyServer;
import io.netty.channel.nio.NioEventLoopGroup;

/**
 * Created by amanda.shan on 2019/10/10.
 */
public class SugarServerTest {

    public static void main(String[] args) throws Exception {

        DeviceNettyServer deviceNettyServer = new DeviceNettyServer(new NioEventLoopGroup(), new NioEventLoopGroup(),
                "sugar");

        deviceNettyServer.start(new SugarServerInitializer(), 11111);
    }


}
